package VN.EDU.IMIC.PROJECTLEADER.NGUYENVANDOAN.OOP.INTERFACEDEMO;

public class ExecInterface {
    private final IWorking m_objIWorking;

    public ExecInterface(IWorking objIWorking) {
        m_objIWorking = objIWorking;
    }

    public boolean ExecOfInsert() {
        return
                m_objIWorking.InsertElement();
    }

    public boolean ExecOfUpdate() {
        return m_objIWorking.UpdateElement();
    }

    public boolean ExecOfDelete() {
        return m_objIWorking.DeleteElement();
    }
}
